package com.baizhi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2019/4/20 0020.
 */
@Data
@TableName(value = "cmfz_role")
public class CmfzRole implements Serializable {
    @TableId(value = "role_id",type = IdType.AUTO)
    private Integer roleId;
    private String roleName;
    @TableField(exist = false)
    private List<CmfzResource> cmfzResourceList;
}
